]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Use replaceAll()
authorAlessandro Bono <alessandro.bono369@gmail.com>
Fri, 20 Feb 2026 22:57:14 +0000 (23:57 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 23 Feb 2026 20:25:10 +0000 (20:25 +0000)
commit10cd1a875ddaff97b0d2220d2ad7f650da8976df
tree657c9291add9355ba2c8fc3cf9b8542441309760
parent8ebf6ba2ca6000b99d6049ebbe2726c92af0e4e9
environment: Use replaceAll()

The replace() function expects two parameters, likely the third one
was ignored. Use replaceAll() to replace all the occurrences, not
just the first one.

Fixes: 007b6ca2e ("environment: Add convenience method for implicit animations")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4084>
js/ui/environment.js